@import "./common.less";
.login-page{
  padding-bottom: 42px;
  .login-form{
    position: absolute;
    left:50%;
    top:50%;
    margin-left:-450px;
    margin-top:-200px;
    width:900px;
    height:400px;
    padding:24px;
    .flex(flex-start,center);
    .bg-img{
      width:354px;
      img{
        width:100%;
      }
    }
    .form{
      width:~'calc(100% - 354px)';
      .logo{
        padding-top:8px;
      }
      .text{
        font-size:28px;
        color:rgba(36, 33, 44, 0.9);
        line-height:40px;
        height:40px;
      }
      .sub-text{
        font-size: @mFont;
        color:rgba(0, 0, 0, 0.74);
        line-height:20px;
      }
      .el-input__inner{
        border-left:0;
        border-right:0;
        border-top:0;
        border-radius: 0;
        padding:0;
      }
      .el-button{
        border-radius: 0;
      }
    }

  }


}

.layout-div{
  padding-left:45px;
  .left{
    width:45px;
    height:100%;
    background: rgb(233, 232, 232);
    position: fixed;
    left:0;
    top:0;
    .top{
      padding-top:40px;

    }
    .bottom{
      position: fixed;
      bottom:40px;
      width:45px;
      .left-btn{
        height:40px;
        line-height:40px;
        cursor: pointer;
      }
      .left-btn:hover{
        background: @bgColor;
      }

    }
    .left-btn{
      height:55px;
      width:100%;
      text-align: center;
      line-height:55px;
      color:rgba(16, 16, 16, 0.62);

      .iconfont{
        font-size:24px;
      }
    }
    .left-btn.active{
      background: @themeColor;
      color:#fff;
    }
    .left-btn.active:hover{
      background: @themeColor;
    }

  }
  .right{
    width:~'calc(100% - 45px)';
    height:100%;
    overflow: auto;
  }
}
.page{
  min-width:800px;

}
.home-page{
  padding-bottom:45px;
  .page-con{
    padding:24px;
    .file-title{
      font-size:26px;
      line-height: 38px;
      width:200px;
      float:left;
      color:rgba(16, 16, 16, 0.79);
    }
    .search-box{
      width:300px;
      float:right;
      .el-input--small .el-input__inner{
        background: rgb(247, 248, 251);
        border:0;
      }
    }
    .home-right{
      background: url("../img/bgimgG.png") center right no-repeat;
      .home-con{
        width:100%;
        height:623px;
        background: #f6f8fc;
        border-top:2px solid @themeColor;
        margin-top:15px;
        .new-file{
          padding:16px;
          .file-title{
            font-size:18px;
            color:#000;
            font-weight: bold;
          }
          .file-sub-title{
              font-size:@mFont;
              color:@duckGrayFont;
              margin-top:20px;
          }
        }
        .open-file{
          .file-list{
            padding-top:20px;
            .file-item{
              padding:5px 20px;
              cursor: pointer;
              .flex(flex-satrt,center);
              .file-left{
                  width:~'calc(100% - 150px)';
                  .title{
                    font-size:@mFont;
                    color:@fontColor;
                    line-height:30px;
                    .text-overflow(1);
                  }
                  .sub-title{
                    font-size:@sFont;
                    color:@grayFont;
                    line-height:20px;
                  }
              }
              .file-right{
                width:150px;
                height:50px;
                line-height:50px;
                text-align: right;
                position: relative;
                .time{
                  font-size:@mFont;
                  color:@fontColor;
                }
                .more-menu{
                  font-size:@sFont;
                  line-height:30px;
                  display: none;
                  position: absolute;
                  right:0;
                  top:10px;
                  .iconfont{
                    font-size:18px;
                  }
                }
                .file-setting{
                  width:200px;
                  background: #f6f8fc;
                  text-align: left;
                  padding: 16px 12px;
                  font-size: 12px;
                  display: none;
                  position: absolute;
                  box-shadow: 0px 0 5px rgba(0,0,0,0.1);
                  right:0px;
                  z-index: 2;
                  .setting-item{
                    .item-title{
                      font-size:@mFont;
                    }
                    .item-con{
                      margin-top:5px;
                      font-size:@sFont;
                      color:@grayFont;
                      .flex(space-between,center)
                    }
                  }
                }
              }

            }
            .file-item:hover{
              background:rgba(39, 72, 168, 0.08) ;
            }
          }
        }

      }

    }

  }
  .page-bottom{
    position: fixed;
    width:100%;
    height:45px;
    line-height:45px;
    background: #fff;
    padding: 0 24px;
    bottom:0;
    color:@fontColor;
    .flex(space-between,center);
    span{
      font-size:@mFont;
      vertical-align: middle;
      margin-right:8px;
      display: inline-block;
    }
    img{
      vertical-align: middle;
      display: inline-block;
    }
    .user-name{
      position: relative;
    }
    .user-name::after{
      width: 1px;
      height: 15px;
      background: #e0e0e0;
      content: " ";
      position: absolute;
      right: -8px;
      top: 16px;
    }
  }
  .pagination-div{
    text-align: right;
  }

}

.setting-page{
  padding:20px;
  padding-bottom:80px;
    .setting-title{
      margin-top:20px;
      color:#e54941;
      font-size:26px;
      height:38px;
      line-height: 38px;
    }
  .setting-form{
    width:950px;
    .form-title{
      font-size:@bFont;
      font-weight:bold;
      color:@fontColor;
      line-height:30px;
      padding-left:15px;
      position: relative;
      margin-top:15px;
    }
    .form-title:after{
      position: absolute;
      content:" ";
      width:3px;
      height:15px;
      top:7px;
      background:rgba(0, 0, 0, 0.67);
      left:0px;
    }
    .form-div{
      margin-top:20px;
      padding-left:20px;
    }
    .el-card__header{
      padding:10px 18px;
    }
  }
  .d3ps{
    padding:12px;
    background: rgba(139, 195, 74, 0.07);
    border:1px solid rgb(221, 221, 221);
    border-radius: 4px;
    font-size:@mFont;
    color:@fontColor;
    line-height:30px;
    width:80%;
    .darkenBuleBtn{
      background:#05215c;
      color:#fff;
      border:1px;
      margin-top:10px;
    }
    .el-button:hover{
      background:lighten(#05215c, 10%);
    }
    .el-button:active{
      background:  darken(#05215c,10%);
    }
  }
  .setting-page-bottom{
    position: fixed;
    width:~'calc(100% - 45px)';
    min-width:900px;
    height:50px;
    line-height:50px;
    bottom:0;
    left:45px;
    background: #f5f5f5;
    z-index: 2;
    .flex(flex-start,center);
    .img{
      width:176px;
      height:30px;
      padding-left:20px;
      img{
        width:100%;
      }
    }
    .right-link-div{
      width:~'calc(100% - 176px)';
      text-align: right;
      .link-btn{
        font-size:@sFont;
        color:@duckGrayFont;
        font-weight:bold;
        margin:0 10px;
        display: inline-block;
        cursor: default;
        line-height:30px;
      }
      .link-btn.active{
        font-size:@mFont;
        color:#000;
        border-bottom:2px solid @themeColor;
      }
      .prev-btn{
        margin-left:37px;
        display: inline-block;
        margin-right:-3px;
        vertical-align: bottom;
        .el-button{
          height:50px;
          border-radius: 0;
          display: block;
          background:#6f6f6f;
          color:#fff;
          padding:0 10px;
          border:1px;
          .el-icon-back{
            font-size:24px;
            display: block;
          }
        }

        .el-button:hover{
          background: darken(rgba(0, 0, 0, 0.45), 10%);
        }
        .el-button:active{
          background: #5a5a5a;
        }
      }
      .prev-btn.prev-erport-btn{
        .el-button{
          .el-icon-back{
            display: inline-block;
            vertical-align: middle;
          }
        }
      }
      .next-btn{
        display: inline-block;
        vertical-align: bottom;
        margin-left:-4px;
        width:84px;
        .el-button{
          height:50px;
          border-radius: 0;
          display: block;
          width:84px;
          padding:0;
          text-align: center;
        }
      }
      .storage-btn{
        display: inline-block;
        vertical-align: bottom;
        width:50px;
        .el-button{
          height:50px;
          border-radius: 0;
          display: block;
          background: rgb(48, 76, 123);
          border-color:  rgb(48, 76, 123);
          width:50px;
          padding:0;
        }
        .el-button:hover{
          background: darken(rgb(48, 76, 123), 10%);
        }
        .el-button:active{
          background: lighten(rgb(48, 76, 123), 10%);
        }
      }
    }
  }
  .params-div{
    font-size:@mFont;
    .params-heard{
      background:rgba(187, 187, 187, 0.46);
      font-weight:bold;
      line-height:20px;
      padding:5px 0;
    }
    .param-left{
      padding-left:10px;
    }
    .param-right{
      padding-right:10px;
      text-align: right;
    }
  }
  .params-main{
    max-height:400px;
    overflow-y:auto;
    .params-row{
      font-size:@mFont;
      line-height:20px;
      padding:8px 0;
    }
    .params-row:nth-child(even){
      background: rgb(245, 245, 245);
    }
  }
  .jijieDialogVisible{
    .jijie-title{
      font-size:@mFont;
      font-weight:bold;
      margin-top:10px;
    }
    .jijie-con{
      margin-top:20px;
    }
  }
}
.el-input__inner[type=number]{
  padding-right:0;
}
.illumination-div{
  .flex(flex-start,flex-start);
  height:480px;
  .illumination-item{
    width:50%;
    height:100%;
    .illumination-item-title{
      font-size:@mFont;
      line-height:40px;
    }
    .canvas-div{
      height:150px;
      position: relative;
      .horizon-line{
        width:200px;
        height:2px;
        background: #000;
        position: absolute;
        left:50%;
        margin-left:-100px;
        bottom:50%;
        font-size:12px;
      }
      .moving-line{
        position: absolute;
        bottom:50%;
        width:100px;
        left:50%;
        height:2px;
        background: blue;
        .dian{
          border-radius: 50%;
          position: absolute;
        }
        .center-dian.dian{
          position: absolute;
          left:0;
          width:10px;
          height:10px;
          background: #000;
          bottom:-4px;
        }
        .hover-dian.dian{
          width:20px;
          height:20px;
          position: absolute;
          left:100px;
          bottom:-9px;
          border:1px solid red;
          cursor: move;
        }
        .hover-dian.dian.disabled{
          cursor:default;
          border:1px solid #000;
        }
      }
    }

    #canvas2{
      .horizon-line{
        width:200px;
        height:2px;
        background: #000;
        position: absolute;
        left:50%;
        margin-left:-100px;
        bottom:50%;
        font-size:12px;
        .dong{
          position: absolute;
          left:205px;
        }
        .xi{
          position: absolute;
          left:-20px;
        }
        .nan{
          position: absolute;
          left: 95px;
          bottom: -60px;
        }
      }
      .moving-div{
        position: absolute;
        bottom:50%;
        width:80px;
        left:50%;
        height:30px;
        margin-left:-40px;
        background: blue;
        .dian{
          border-radius: 50%;
          position: absolute;
        }
        .center-dian.dian{
          position: absolute;
          left:~'calc(50% - 3px)';
          width:10px;
          height:10px;
          background: #000;
          bottom:-3px;
        }
        .hover-dian2.dian{
          width:20px;
          height:20px;
          position: absolute;
          left:70px;
          top:-8px;
          border:1px solid red;
          cursor: move;
        }
        .hover-dian2.dian.disabled{
          cursor:default;
          border:1px solid #000;
        }
      }
    }
  }
  .illumination-item:first-child{
    //border-right: 1px dashed @borderColor;
  }
  .illumination-right{
    padding-left:20px;
  }
}
//逆变器配置
.inverter-setting-tabPane{
  padding-bottom:0;
}
//逆变器配置
.inverter-setting-div{
    .flex(flex-start,flex-start);
    .setting-left{
      width:300px;
    }
    .setting-right{
      width:~'calc((100% - 300px)/2)';
      .line-div{
        width:180px;
        height:40px;
        border-radius: 8px;
        line-height:40px;
        font-size:@bFont;
        color:#fff;
        background: #2b3c59;
        .line-div-input{
          height:40px;
          width:50px;
          border-radius: 8px;
          color:#fff;
          background: #ffce59;
          border:1px solid #ffce59;
          text-align: center;
          float:right;
          margin-right:-2px;
        }
      }
      .only-div.line-div{
        background: #304c7b;
        .line-div-input{
            background: #ffce59;
        }
      }
      .line{
        height:40px;
        width:1px;
        border-left:1px dashed #888;
        margin-left:90px;
        transform-origin:0 0;
      }
      .line-div2{
        text-align: center;
        width:90px;
        margin-top:-10px;
        display: inline-block;
        .line-div{
          width:100%;
          position: relative;
          z-index: 1;
        }
        .line2-input{
          width:90px;
          height:50px;
          padding:5px;
          padding-top:15px;
          margin-top:-10px;
          border-radius: 8px;
          background: #93b4eb;
          .line-div-input{
            width:100%;
            height:100%;
            border:0;
            background: #f0f0f0;
            text-align: center;
            color:#888;
          }
        }
      }
      .only-div2{
        margin-top:-10px;
        background: #ffce59;
        width:180px;
        height:50px;
        padding:5px;
        border-radius: 8px;
        padding-top:13px;
        .only-div2-input{
          width:100%;
          background: #ffce59;
          text-align: center;
          color:#fff;
          height:100%;
          font-size:@mFont;
          border:0;
        }
      }
    }

}
.inverter-setting-bottom{
  margin-top:40px;
  border-top:1px dashed @borderColor;
  padding:10px 0;
  padding-bottom:0;
}
.inverter-setting-tabPane{
  .el-card__body{
    padding-bottom:0;
  }
}
.power-table{
  width:100%;
  font-size:@mFont;
  color:@fontColor;
  border-left:1px solid @borderColor;
  border-top:1px solid @borderColor;
  .th{
    font-weight: bold;
    background: rgb(245, 247, 250);
  }
  th,td{
    border-right:1px solid @borderColor;
    border-bottom:1px solid @borderColor;
    padding:0 12px;
    height:30px;
    line-height: 30px;
  }
}
.alignleft.el-input-number .el-input__inner{
  text-align: left;
}
.chart-category-box{
  .flex(flex-start,flex-start);
  margin-top:20px;
  .chart-left{
    width:50%;
    height:100%;
  }
  .chart-right{
    width:50%;
    height:100%;

  }
}

//报告
.toTop-div{
  position: fixed;
  bottom:100px;
  right:40px;
  width:45px;
  height:45px;
  background: rgb(240, 240, 240);
  border-radius: 4px;
  text-align: center;
  line-height:50px;
  cursor: pointer;
  .el-icon-caret-top{
    font-size:22px;
    color:rgb(62, 110, 247)
  }
}
#report-main-div{
  a{
    color:#409eff;
    text-decoration: none;
    font-size: @sFont;
  }
  a:hover{
    text-decoration: underline;
  }
  .report-cell{
    line-height: 32px;
    font-size: @mFont;
    .flex(flex-start,flex-start);
    .label{
      font-weight: bold;
      display: inline-block;
      width:120px;
    }
    .text{
      width:~'calc(100% - 120px)';
      line-height: 20px;
      padding-top:7px;
    }
  }
  .report-title-div{
      border-bottom:1px dashed @borderColor;
      .report-top{
        height:40px;
        line-height: 40px;
        border-bottom:1px solid #222;
        .flex(space-between,center);
        .report-company-name{
          font-size:26px;
        }
      }
    .report-title-main{
      padding:10px 0;
      .flex(flex-start,flex-start);
      .report-block{
        width:50%;
      }
    }
  }
  .link-miaodian{
    margin-left:5px;
  }
  .report-info-block{
      margin-top:30px;

    .report-info-title{
          font-size:20px;
          line-height: 30px;
          position: relative;
          padding-left:10px;
      }
    .report-info-title:after{
      content: " ";
      position: absolute;
      height:16px;
      width:3px;
      background: #222;
      left:0;
      top:7px;
    }
    .report-info-con{
      .flex(flex-start,flex-start);
      margin-top:20px;
      .report-info-div{
        width:50%;
        padding:0 20px;
        .info-sub-title{
          font-size:@bFont;
          line-height: 36px;
          height:36px;
          margin-bottom:5px;
          a{
            float:right;
          }
        }
        .report-mode-div{
          margin-top:10px;
        }
        .report-mode-div:first-child{
          margin-top:0;
        }
        .report-cell{
          line-height: 32px;
          font-size: @mFont;
          .flex(flex-start,flex-start);
          .label{
              padding-left:20px;
          }
          .text{
            text-align: right;

          }
        }

      }
      .report-info-div:first-child{
        border-right:1px solid #000;
      }
    }
    .report-table{
      border:1px solid #ddd;
      padding:20px;
      padding-top:0;
      width:90%;
      margin:20px 0 0 20px;
      table{
        font-size: @mFont;
        th{

          font-weight: bold;
          padding:10px 0;
          border-bottom:2px solid #333;

        }
        .rightAlgin-div{
          text-align: right;
          padding-right:20px;
        }
        .centerAlgin-div{
          text-align: center;
        }
        td{
          border-bottom:1px solid #ddd;
          height:40px;
          line-height: 20px;
        }
        tr.odd-tr{
          td{
            background: #eee;
          }
        }
      }

    }
    .more-table-line{
      line-height: 40px;
      font-size: @mFont;
      padding:0 20px;
      .label{
        font-weight: bold;
        margin-right:10px;
      }
      a{
        display: inline-block;
        margin-right:10px;
      }
    }
    .report-loss-count{
      margin-top:40px;
      margin-left:20px;
      background: url("../img/bg1.png") no-repeat;
      width:722px;
      height:476px;
      position: relative;
      .input-div{
        font-size: @mFont;
        line-height: 18px;
        position: absolute;
      }
      .number1{
        top:14px;
        left:160px;
      }
      .number2{
        top:42px;
        left:376px;
      }
      .number3{
        top:78px;
        left:376px;
      }
      .number4{
        top:112px;
        left:376px;
      }
      .number5{
        top:163px;
        left:159px;
      }
      .number6{
        top:207px;
        left:373px;
      }
      .number7{
        top:173px;
        left:613px;
      }
      .number8{
        top:207px;
        left:613px;
      }
      .number9{
        top:241px;
        left:613px;
      }
      .number10{
        top:261px;
        left:157px;
      }
      .number11{
        top:286px;
        left:376px;
      }
      .number12{
        top:325px;
        left:157px;
      }
      .number13{
        top:368px;
        left:376px;
      }
      .number14{
        top:402px;
        left:376px;
      }
      .number15{
        top:447px;
        left:158px;
      }
    }
    .report-info-sub-title{
      font-size: @bFont;
      margin:20px;
    }
    .report-info-sub-con{
      margin-left:40px;
      .params-div{
        font-size:@mFont;
        .params-heard{
          background:#cccccc;
          font-weight:bold;
          line-height:20px;
          padding:5px 0;
        }
        .param-left{
          padding-left:10px;
        }
        .param-right{
          padding-right:10px;
          text-align: right;
        }
      }
      .params-main{
        height:auto;
        max-height: none;
        .params-row{
          font-size:@mFont;
          line-height:20px;
          padding:8px 0;
        }
        .params-row:nth-child(even){
          background: rgb(245, 245, 245);
        }
      }
    }
    .report-inverter-div{
      .flex(flex-start,flex-start);
      width:450px;
      margin:40px auto;
      .setting-right{
        width:220px;
        .line-div{
          width:180px;
          height:40px;
          border-radius: 8px;
          line-height:40px;
          font-size:@bFont;
          color:#fff;
          background: #2b3c59;
          .line-div-input{
            height:40px;
            width:50px;
            border-radius: 8px;
            color:#fff;
            background: #ffce59;
            border:1px solid #ffce59;
            text-align: center;
            float:right;
            margin-right:-2px;
          }
        }
        .only-div.line-div{
          background: #304c7b;
          .line-div-input{
            background: #ffce59;
          }
        }
        .line{
          height:40px;
          width:1px;
          border-left:1px dashed #888;
          margin-left:90px;
          transform-origin:0 0;
        }
        .line-div2{
          text-align: center;
          width:90px;
          margin-top:-10px;
          display: inline-block;
          .line-div{
            width:100%;
            position: relative;
            z-index: 1;
          }
          .line2-input{
            width:90px;
            height:50px;
            padding:5px;
            padding-top:15px;
            margin-top:-10px;
            border-radius: 8px;
            background: #93b4eb;
            .line-div-input{
              width:100%;
              height:100%;
              border:0;
              background: #f0f0f0;
              text-align: center;
              color:#888;
            }
          }
        }
        .only-div2{
          margin-top:-10px;
          background: #ffce59;
          width:180px;
          height:50px;
          padding:5px;
          border-radius: 8px;
          padding-top:13px;
          .only-div2-input{
            width:100%;
            background: #ffce59;
            text-align: center;
            color:#fff;
            height:100%;
            font-size:@mFont;
            border:0;
          }
        }
      }
    }
    .report-inverter-chart{
      width:800px;
      margin:20px auto;
      .flex(flex-start,flex-start);
      .chart-div{
        width:400px;
        margin-top:20px;
        .chart-div-title{
          text-align: center;
          font-size:@mFont;
          line-height:30px;
        }
      }
    }
    .chart-category-box{
      .flex(flex-start,flex-start);
      .chart-left{
        width:50%;
        height:100%;
      }
      .chart-right{
        width:50%;
        height:100%;

      }
    }

  }

  .appendix-title{
    font-weight: bold;
    font-size:@bFont;
    margin:40px 0;
  }
  .no-print{
    //display:none;
  }
  .myChart-img{
    display: none;
  }
}

.syimg1{
  width:400px;
  float:left;
  margin-top:20px;
  .flex(flex-start,flex-start);
  .syimg1-title{
    font-size:@sFont;
    line-height: 24px;
    padding-left:10px;
  }
}
.term-info{
  float:right;
  text-align: right;
  line-height: 20px;
  .term-title{
    font-size:@bFont;
    color:@fontColor;
  }
  .term-type{
    font-size:@sFont;
    color:@grayFont
  }
}

@media print {
  body{
    -webkit-print-color-adjust:exact;
    -moz-print-color-adjust:exact;
    -ms-print-color-adjust:exact;
    print-color-adjust:exact;
    background: #ffffff;
  }
  .no-print{
    display:none !important;
    visibility: hidden;
    height:0;
  }
  @page{
    size:auto; /*还可landscape(横向),portrait（纵向）*/
    margin:10mm;  /*设置边距为0，即去除页眉页脚，如果还想保留边距，可以通过设置dom的padding*/
  }
  .myChart-img{
    display: block;
  }
  .myChart-div{
    display: none;
  }


}

.pamars-div{
  margin-top:20px;
  width:400px;
  float:left;
  border-left:1px solid @borderColor;
  padding-left:12px;
  .title{
    font-size:@mFont;
    font-weight:bold;
    margin-bottom:10px;
  }
  .pamars-row{
    .flex(space-between,flex-start);
    line-height: 30px;
    font-size:@sFont;
    .pamars-lable{
      color:@fontColor;
      min-width:180px;
    }
    .pamars-text{
      color:@grayFont;
      padding-left:10px;
      text-align: right;
    }
  }
}

.analysis-ps{
  .flex(space-between,flex-start);
  .text{
    border-radius: 30px;
    padding:2px 10px;
    background: #E4E7ED;
    display: inline-block;
    font-size:@sFont;
    color:#aaa;
  }
}

.layout-num{
  padding-right:40px;
  .num-row{
    .flex(space-between,flex-start);
    margin-top:20px;
    .num-col{
        .text{
          font-size:@mFont;
        }
        .num{
          font-weight:bold;
          margin-top:5px;
          .big{
            color:@themeColor;
            font-size:36px
          }
          .small{
            font-size:18px;
            color:rgb(52, 89, 181)
          }
        }
    }
  }
}
.img-list{
  overflow: hidden;
  margin-bottom:10px;
  .img-div{
    width:200px;
    height:120px;
    background: rgb(187, 187, 187);
    float:left;
    margin-right:10px;
    margin-bottom:10px;
    position: relative;
    img{
      width:100%;
      height:100%;
      object-fit: cover;
    }
    .del-div{
      display: none;
      position: absolute;
      bottom:0;
      width:100%;
      height:30px;
      text-align: center;
      background: rgba(255, 68, 0, 0.52);
      color:#fff;
      font-size:@mFont;
      line-height: 30px;
      cursor: pointer;
    }
  }
  .img-div:hover{
    .del-div{
      display: block;
    }
  }
}
.el-input.is-disabled .el-input__inner{
  color:#222;
}
.el-form-item__label{
  color:#000
}
.el-input__inner::placeholder {
  color: #aaa;
}
/* 谷歌 */
.el-input__inner::-webkit-input-placeholder {
  color: #aaa;
}